package com.coda.pojo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 用户单词表
 */

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UserWordDetail implements Serializable {
    //主键
    private Integer id;
    //单词id
    private Integer wordId;
    //用户id
    private Integer userId;
    //正确次数
    private Integer correctCount;
    //错误次数
    private Integer inCorrectCount;
    //更新日期
    @DateTimeFormat
    private LocalDateTime updateTime;
    @DateTimeFormat
    private LocalDateTime createTime;
}
